package com.cq.hd.common.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @description: HTTP请求异常
 * @author: mYunYu
 * @date: 2021/7/7 15:42
 * @version: v1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class HttpExecuteException extends RuntimeException {

    private int code;

    public HttpExecuteException(int code, String message) {
        super(message);
        this.code = code;
    }

}
